
import { getUrl, delUrl, postUrl } from "../until/request"

/**
 * @description: 获取所有文章
 * @param {*} url
 * @param {*} params
 * @return {*}
 */ 
export const getAllHouseHttp = async (url, params) => await getUrl(url, params)
 
/**
 * @description: 获取所有经纪人
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const getHouseAuditHttp = async (url, params) => await getUrl(url, params)

/**
 * @description: getisHouseHttp
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const getisHouseHttp = async (url, params) => await getUrl(url, params)

/**
 * @description: 单个删除房源
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const delHouseHttp = async (url, params) => await delUrl(url, params)

/**
 * @description: auditChangeHttp
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const auditChangeHttp = async (url, params) => await postUrl(url, params)

/**
* @description: 单个state改变   
* @param {*} url
* @param {*} params 
* @return {*}
*/
export const isHouseStateHttp = async (url, params) => await getUrl(url, params)

/**
* @description: 新建 
* @param {*} url
* @param {*} params
* @return {*}
*/
export const addHouseHttp = async (url, params) => await postUrl(url, params)

/**
* @description: editHouseHttp
* @param {*} url
* @param {*} params
* @return {*}
*/
export const editHouseHttp = async (url, params) => await postUrl(url, params)



